#include "Thread.h"
void Thread::Start()
{
	m_Thread = SDL_CreateThread(ThreadStarter,this);
	//delete this;
}
int Thread::ThreadStarter(void* data)
{
	((Thread*)data)->Work();
	delete (Thread*)data;
	return 0;
}